<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./js/jquery-1.12.4.js"></script>
    <link rel="stylesheet" href="">
    <!-- 
把 footer和 header的css公共样式,直接引入到index.html里面
除了 footre和header里的个性样式,可以引入在各自的页面里面

     -->
    <script>
        $(function () {
            $(".header2").load("./header2.html", function () {
                console.log("header加载完成了")
            })
            $(".newregiter").load("./newregiter.html", function () {
                console.log("content完成了")
            })
            $(".footer").load("./footer.html", function () {
                console.log("footer加载完成了")
            })


        })
    </script>

    <style>
        .footer {
            width: 100%;
        }

        .header2 {
            width: 100%;
        }

        .newregiter {
            width: 100%;
            padding-bottom: 20px;
        }

        .main {
            width: 1000px;
            margin: 0 auto;
        }

        * {
            margin: 0;
            padding: 0;
        }

        a {
            text-decoration: none;
        }

        img {
            vertical-align: top;
        }

        .fclear:after {
            content: "";
            display: block;
            clear: both;
        }

        .fs12 {
            font-size: 12px;
        }

        .fs14 {
            font-size: 14px;
        }

        .fl {
            float: left;
        }

        .fr {
            float: right;
        }

        em,
        i {
            font-style: normal;
        }
    </style>
</head>

<body>
    <div class="header2"></div>
    <div class="newregiter"></div>
    <div class="footer"></div>
</body>

</html>